# $OpenBSD$

COMMENT =	QR Code image generator

MODPY_EGG_VERSION =	6.0
DISTNAME =	qrcode-${MODPY_EGG_VERSION}

CATEGORIES =	textproc

# BSD
PERMIT_PACKAGE_CDROM =	Yes

MODULES =		lang/python
MODPY_VERSION =		${MODPY_DEFAULT_VERSION_3}
MODPY_PI =		Yes
MODPY_SETUPTOOLS =	Yes
RUN_DEPENDS =		devel/py-six${MODPY_FLAVOR} \
			graphics/py-Pillow${MODPY_FLAVOR}
TEST_DEPENDS =		${RUN_DEPENDS} \
			devel/py-mock${MODPY_FLAVOR}

pre-configure:
	sed -i 's,share/man/man1,man/man1,' ${WRKSRC}/setup.py

.include <bsd.port.mk>
